package com.bjpowernode.mappers;

import com.bjpowernode.entities.TRole;

import java.util.List;

public interface TRoleMapper {
    TRole selectById(Integer id);

    List<TRole> selectByUserId(Integer userId);

    int insert(TRole record);

    int insertSelective(TRole record);

    int updateById(TRole record);

    int updateByIdSelective(TRole record);

    int deleteById(Integer id);
}